/**
 * Created by lins on 2018-7-17.
 */
angular.module('MetronicApp').controller('PeriodicAnalysisListController',
    ['$rootScope', '$scope', '$state', '$stateParams', '$uibModal', 'toastr', 'EnumService', 'PeriodicAnalysisService',
        function ($rootScope, $scope, $state, $stateParams, $uibModal, toastr, EnumService, PeriodicAnalysisService) {
            $scope.$on('$viewContentLoaded', function () {
                App.initAjax();
                $rootScope.settings.layout.pageBodySolid = true;
                $rootScope.settings.layout.pageSidebarClosed = false;
            });

            $scope.condition = {};
            $scope.range = EnumService.get("area");

            $scope.tabItemList = [
                {
                    "name": "污染源分析",
                    "router": "sourceAnalysisList",
                    "selected": false
                },
                {
                    "name": "周期性分析",
                    "router": "periodicAnalysisList",
                    "selected": true
                },
                {
                    "name": "案例分析",
                    "router": "caseAnalysisList",
                    "selected": false
                },
                {
                    "name": "传输影响分析",
                    "router": "pollutantSourceList",
                    "selected": false
                }
            ]

            // 配置
            $scope.deploy = function () {
                $state.go('deployManagement');
            };


        }
    ]
);